home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1990: Discy Business / Discy Business.hdv / DEV.CD / GUIDED.TOURS / IIC.PLUS.TOUR / APPLE.PLAY / Q.CH4 < prev    next >
Encoding:
Text File  |  1988-04-16  |  1.6 KB  |  112 lines  |  [04] ASCII Text (0x0000)

  1. 6
  2. %
  3. 2
  4. 23
  5. 1
  6. 39
  7. 1. What can you use immediate
  8.    execution for in BASIC?
  9.  
  10.    A. Printing words.
  11.  
  12.    B. Printing the results of
  13.       numeric calculations.
  14.  
  15.    C. Assigning values to
  16.       variables.
  17.  
  18.    D. All of the above.
  19. #
  20. D
  21. Immediate execution lets you try
  22. out BASIC statements one at a time.
  23. ^
  24. &
  25. 2. In what order are statements
  26.    in a BASIC program executed?
  27.  
  28.    A. Alphabetical order.
  29.  
  30.    B. The order in which they were
  31.       entered.
  32.  
  33.    C. Numerical order by line
  34.       number.
  35.  
  36.    D. Random order.
  37. #
  38. C
  39. BASIC executes statements in the
  40. order of the line numbers, begin-
  41. ning with the smallest number.
  42. ^
  43. &
  44. 3. Which BASIC statement would you
  45.    use to erase a program from
  46.    memory?
  47.  
  48.    A. SAVE
  49.  
  50.    B. NEW
  51.  
  52.    C. END
  53.  
  54.    D. None of the above
  55. #
  56. B
  57. The NEW statement erases the
  58. current program from memory.
  59. ^
  60. &
  61. 4. Which BASIC statement would you
  62.    use to ask for someone's name?
  63.  
  64.    A. LET
  65.  
  66.    B. INPUT
  67.  
  68.    C. END
  69.  
  70.    D. NEW
  71. #
  72. B
  73. The INPUT statement in a program
  74. displays a question mark.
  75. Whatever the user types as an
  76. answer is stored in a variable.
  77. ^
  78. &
  79. 5. Assigning a new value to a
  80.    variable...
  81.  
  82.    A. destroys its previous value.
  83.    B. automatically saves its
  84.       previous value to disk.
  85.    C. saves its previous value to
  86.       memory.
  87.    D. adds the new value to the
  88.       previous value.
  89. #
  90. A
  91. Any time a new value is assigned
  92. to a variable, the old, previous
  93. value is lost.
  94. ^
  95. &
  96. 6. What type of variable could be
  97.    used to store a person's name?
  98.  
  99.    A. A numeric variable.
  100.  
  101.    B. A string variable.
  102.  
  103.    C. Either type of variable.
  104.  
  105.    D. Neither type of variable.
  106. #
  107. B
  108. String variables are used to store
  109. strings of characters, like names.
  110. ^
  111. 854
  112.